package com.wom.gui;

import java.awt.geom.Rectangle2D;

import com.wom.worldmaker.GameProperties;
import com.wom.worldmaker.GameWorld;

public final class Camera extends Rectangle2D.Double {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public static int scrollX=0;
	public static int scrollY=0;
	public static int offSetMaxX;
	public static int offSetMinX;
	public static int offSetMaxY;
	public static int offSetMinY;




	public Camera(int x,int y,int w,int h){
		
		offSetMaxX = ((GameWorld.gameBlocks.length*GameProperties.blockSize) - GameProperties.windowSize.width)/GameProperties.pixelRatio;
		offSetMaxY = (GameProperties.worldHeight*GameProperties.blockSize) - GameProperties.windowSize.height;
		offSetMinX = 0;
		offSetMinY = 0;
		
		
		setFrame(x,y,w,h);
	}





}
